package com.bjwl.dao;

import com.bjwl.pojo.Staff;
import com.bjwl.utils.PageBean;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: czc
 * @Date:Create：in 2020/5/20 15:54
 * @Description:
 * @Modified By：
 * @Version: 1.0
 */
@Component
public interface NannyMapper {

    List<Staff> findAllNannyByBsid(Integer bsid);

    Staff findNannyById(Integer id);

    int nannyPaging(Integer bsid,Float nhourse );

    List<Staff> findAllNannyPages(PageBean<Staff> pageBean, Integer bsid ,Float nhourse);

    int cleaningPaging(Integer bsid, String remarks);

    List<Staff> findAllCleaningPages(PageBean<Staff> pageBean, Integer bsid, String remarks);
}
